<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>发布博文</title>
</head>
<body>
    <h2>什么什么什么什么</h2>
    <form action="publish" method="post">
        <p>
            <textarea name="content" cols="200" rows="20">${post.content}</textarea>
        </p>
        <p>
            <select name="visibility">
                <c:forEach items="${vList}" var="v">
                        <option value="${v}">${v}</option>
                </c:forEach>
            </select>
        </p>
        <p>
            <input type="submit" value="发布">
        </p>
        <p>${errMsg}</p>
    </form>

</body>
</html>
